﻿<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ctrl="using:RockHopper.TrainingCalculator.WinRT.Controls">

    <BitmapImage x:Key="BackgroundImage" UriSource="ms-appx:///Assets/Background.png" />
    <BitmapImage x:Key="VdotImage" UriSource="ms-appx:///Assets/Vdot.png" />
    <BitmapImage x:Key="EasyImage" UriSource="ms-appx:///Assets/Easy.png" />
    <BitmapImage x:Key="MarathonImage" UriSource="ms-appx:///Assets/Marathon.png" />
    <BitmapImage x:Key="ThresholdImage" UriSource="ms-appx:///Assets/Threshold.png" />
    <BitmapImage x:Key="IntervalImage" UriSource="ms-appx:///Assets/Interval.png" />
    <BitmapImage x:Key="RepetitionImage" UriSource="ms-appx:///Assets/Repetition.png" />
    <BitmapImage x:Key="WindEffectImage" UriSource="ms-appx:///Assets/WindEffect.png" />
    <BitmapImage x:Key="TempEffectImage" UriSource="ms-appx:///Assets/TempEffect.png" />
    <BitmapImage x:Key="RacePredictorImage" UriSource="ms-appx:///Assets/RacePredictor.png" />
    <BitmapImage x:Key="HeartRateImage" UriSource="ms-appx:///Assets/HeartRate.png" />
    
    <Color x:Key="GreenTileColor">#00b92f</Color>
    <Color x:Key="RedTileColor">#c40000</Color>
    <Color x:Key="BlueTileColor">#0000d5</Color>
    <Color x:Key="PurpleTileColor">#9068FF</Color>
    <Color x:Key="OrangeTileColor">#ff8000</Color>
    <Color x:Key="PopupBackgroundColor">#7f7f7f</Color>
    <Color x:Key="OffWhiteColor">#DCE0DF</Color>

    <SolidColorBrush x:Key="GreenTileBrush" Color="{StaticResource GreenTileColor}"/>
    <SolidColorBrush x:Key="RedTileBrush" Color="{StaticResource RedTileColor}"/>
    <SolidColorBrush x:Key="BlueTileBrush" Color="{StaticResource BlueTileColor}"/>
    <SolidColorBrush x:Key="PurpleTileBrush" Color="{StaticResource PurpleTileColor}"/>
    <SolidColorBrush x:Key="OrangeTileBrush" Color="{StaticResource OrangeTileColor}"/>
    <SolidColorBrush x:Key="OffWhiteBrush" Color="{StaticResource OffWhiteColor}"/>
    <SolidColorBrush x:Key="PopupBackgroundBrush" Color="{StaticResource PopupBackgroundColor}"/>
    <ImageBrush x:Key="BackgroundBrush" ImageSource="{StaticResource BackgroundImage}"/>
    
    <Style x:Key="LargeTileStyle" TargetType="ctrl:TileControl">
        <Setter Property="Width" Value="400"/>
        <Setter Property="Height" Value="400"/>
        <Setter Property="Foreground" Value="{StaticResource OffWhiteBrush}"/>
    </Style>

    <Style x:Key="MediumTileStyle" TargetType="ctrl:TileControl">
        <Setter Property="Width" Value="200"/>
        <Setter Property="Height" Value="200"/>
        <Setter Property="Foreground" Value="{StaticResource OffWhiteBrush}"/>
    </Style>

    <Style x:Key="SmallTileStyle" TargetType="ctrl:TileControl">
        <Setter Property="Width" Value="100"/>
        <Setter Property="Height" Value="100"/>
        <Setter Property="Foreground" Value="{StaticResource OffWhiteBrush}"/>
    </Style>

    <Style x:Key="LabelTextBlockStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="16"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="10,0,10,0"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
    </Style>

    <Style x:Key="ValueTextBoxStyle" TargetType="TextBox">
        <Setter Property="FontSize" Value="16"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="10"/>
    </Style>

    <Style x:Key="ValueTextBoxErrorStyle" TargetType="TextBox">
        <Setter Property="FontSize" Value="16"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="Red"/>
        <Setter Property="Margin" Value="10"/>
    </Style>

    <Style x:Key="InfoTitleBlockStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="17"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
        <Setter Property="Padding" Value="0, 5, 0, 5"/>
    </Style>
    
    <Style x:Key="InfoTextBlockStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
        <Setter Property="Padding" Value="0, 5, 0, 5"/>
    </Style>

    <Style TargetType="ctrl:PopupControl">
        <Setter Property="Width" Value="1000"/>
        <Setter Property="Height" Value="600"/>
        <Setter Property="Grid.RowSpan" Value="6"/>
        <Setter Property="Grid.ColumnSpan" Value="12"/>
    </Style>
    
</ResourceDictionary>